package com.itheima.afternoon.demo01;

public class Demo {
    public static void main(String[] args) {
        Girl girl = new Girl();
        Boy boy = new Boy();
        girl.setName("女孩");
        boy.setName("男孩");
        girl.start();
        boy.start();
    }
}
